


// 初始化配置模块
void Option_Init()
{
	str sFile = xrtPathJoin(2, OptionPath, "global.json");
	G_Option = xrtParseJSON_File(sFile);
	xrtFree(sFile);
	if ( G_Option == NULL ) {
		printf("!!! ERROR !!! Load global option failed !\n");
		exit(1);
	}
}



// 卸载配置模块
void Option_Unit()
{
	xvoUnref(G_Option);
}


